package com.zsc.wxm.ysh.anjo.es.feign;

import com.zsc.wxm.ysh.anjo.es.feign.fallback.OssServiceImpl;
import com.zsc.wxm.ysh.anjo.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 描述： 远程调用
 *
 * @author playmaker
 * @since 2021/2/14 9:44
 */
@FeignClient(value = "anjo-oss-service",fallback = OssServiceImpl.class)
public interface OssService {

    /**
     * 上传爬取图片
     *
     * @return
     */
    @PostMapping("/oss/file/upload-house-image")
    Result uploadHouseImage();
}
